3.486 \(\int \frac{(c \sin (a+b x))^m}{\sqrt{d \sec (a+b x)}} \, dx\)

Optimal. Leaf size=77 \[ \frac{\sqrt [4]{\cos ^2(a+b x)} \sqrt{d \sec (a+b x)} (c \sin (a+b x))^{m+1} \, _2F_1\left (\frac{1}{4},\frac{m+1}{2};\frac{m+3}{2};\sin ^2(a+b x)\right )}{b c d (m+1)} \]

[Out]

((Cos[a + b*x]^2)^(1/4)*Hypergeometric2F1[1/4, (1 + m)/2, (3 + m)/2, Sin[a + b*x]^2]*Sqrt[d*Sec[a + b*x]]*(c*S
in[a + b*x])^(1 + m))/(b*c*d*(1 + m))

________________________________________________________________________________________

Rubi [A]  time = 0.0966463, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2586, 2577} \[ \frac{\sqrt [4]{\cos ^2(a+b x)} \sqrt{d \sec (a+b x)} (c \sin (a+b x))^{m+1} \, _2F_1\left (\frac{1}{4},\frac{m+1}{2};\frac{m+3}{2};\sin ^2(a+b x)\right )}{b c d (m+1)} \]

Antiderivative was successfully verified.

[In]

Int[(c*Sin[a + b*x])^m/Sqrt[d*Sec[a + b*x]],x]

[Out]

((Cos[a + b*x]^2)^(1/4)*Hypergeometric2F1[1/4, (1 + m)/2, (3 + m)/2, Sin[a + b*x]^2]*Sqrt[d*Sec[a + b*x]]*(c*S
in[a + b*x])^(1 + m))/(b*c*d*(1 + m))

Rule 2586

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[(1*(b*Cos[e +
 f*x])^(n + 1)*(b*Sec[e + f*x])^(n + 1))/b^2, Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b
, e, f, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] && LtQ[n, 1]

Rule 2577

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[(b^(2*IntPart
[(n - 1)/2] + 1)*(b*Cos[e + f*x])^(2*FracPart[(n - 1)/2])*(a*Sin[e + f*x])^(m + 1)*Hypergeometric2F1[(1 + m)/2
, (1 - n)/2, (3 + m)/2, Sin[e + f*x]^2])/(a*f*(m + 1)*(Cos[e + f*x]^2)^FracPart[(n - 1)/2]), x] /; FreeQ[{a, b
, e, f, m, n}, x]

Rubi steps

\begin{align*} \int \frac{(c \sin (a+b x))^m}{\sqrt{d \sec (a+b x)}} \, dx &=\frac{\left (\sqrt{d \cos (a+b x)} \sqrt{d \sec (a+b x)}\right ) \int \sqrt{d \cos (a+b x)} (c \sin (a+b x))^m \, dx}{d^2}\\ &=\frac{\sqrt [4]{\cos ^2(a+b x)} \, _2F_1\left (\frac{1}{4},\frac{1+m}{2};\frac{3+m}{2};\sin ^2(a+b x)\right ) \sqrt{d \sec (a+b x)} (c \sin (a+b x))^{1+m}}{b c d (1+m)}\\ \end{align*}

Mathematica [C]  time = 1.7626, size = 289, normalized size = 3.75 \[ \frac{8 c (m+3) \sin ^2\left (\frac{1}{2} (a+b x)\right ) \cos ^4\left (\frac{1}{2} (a+b x)\right ) F_1\left (\frac{m+1}{2};-\frac{1}{2},m+\frac{3}{2};\frac{m+3}{2};\tan ^2\left (\frac{1}{2} (a+b x)\right ),-\tan ^2\left (\frac{1}{2} (a+b x)\right )\right ) (c \sin (a+b x))^{m-1}}{b (m+1) \sqrt{d \sec (a+b x)} \left ((\cos (a+b x)-1) \left ((2 m+3) F_1\left (\frac{m+3}{2};-\frac{1}{2},m+\frac{5}{2};\frac{m+5}{2};\tan ^2\left (\frac{1}{2} (a+b x)\right ),-\tan ^2\left (\frac{1}{2} (a+b x)\right )\right )+F_1\left (\frac{m+3}{2};\frac{1}{2},m+\frac{3}{2};\frac{m+5}{2};\tan ^2\left (\frac{1}{2} (a+b x)\right ),-\tan ^2\left (\frac{1}{2} (a+b x)\right )\right )\right )+(m+3) (\cos (a+b x)+1) F_1\left (\frac{m+1}{2};-\frac{1}{2},m+\frac{3}{2};\frac{m+3}{2};\tan ^2\left (\frac{1}{2} (a+b x)\right ),-\tan ^2\left (\frac{1}{2} (a+b x)\right )\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(c*Sin[a + b*x])^m/Sqrt[d*Sec[a + b*x]],x]

[Out]

(8*c*(3 + m)*AppellF1[(1 + m)/2, -1/2, 3/2 + m, (3 + m)/2, Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2]*Cos[(a + b
*x)/2]^4*Sin[(a + b*x)/2]^2*(c*Sin[a + b*x])^(-1 + m))/(b*(1 + m)*(((3 + 2*m)*AppellF1[(3 + m)/2, -1/2, 5/2 +
m, (5 + m)/2, Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2] + AppellF1[(3 + m)/2, 1/2, 3/2 + m, (5 + m)/2, Tan[(a +
 b*x)/2]^2, -Tan[(a + b*x)/2]^2])*(-1 + Cos[a + b*x]) + (3 + m)*AppellF1[(1 + m)/2, -1/2, 3/2 + m, (3 + m)/2,
Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2]*(1 + Cos[a + b*x]))*Sqrt[d*Sec[a + b*x]])

________________________________________________________________________________________

Maple [F]  time = 0.098, size = 0, normalized size = 0. \begin{align*} \int{ \left ( c\sin \left ( bx+a \right ) \right ) ^{m}{\frac{1}{\sqrt{d\sec \left ( bx+a \right ) }}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x)

[Out]

int((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c \sin \left (b x + a\right )\right )^{m}}{\sqrt{d \sec \left (b x + a\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="maxima")

[Out]

integrate((c*sin(b*x + a))^m/sqrt(d*sec(b*x + a)), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{d \sec \left (b x + a\right )} \left (c \sin \left (b x + a\right )\right )^{m}}{d \sec \left (b x + a\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(d*sec(b*x + a))*(c*sin(b*x + a))^m/(d*sec(b*x + a)), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c \sin{\left (a + b x \right )}\right )^{m}}{\sqrt{d \sec{\left (a + b x \right )}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))**m/(d*sec(b*x+a))**(1/2),x)

[Out]

Integral((c*sin(a + b*x))**m/sqrt(d*sec(a + b*x)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c \sin \left (b x + a\right )\right )^{m}}{\sqrt{d \sec \left (b x + a\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="giac")

[Out]

integrate((c*sin(b*x + a))^m/sqrt(d*sec(b*x + a)), x)